package array;

public class Test {

    public static void main(String[] args) throws IllegalAccessException {
        Array array = new Array();

        for (int i = 0; i < 12; i++) {
            array.addToHead(new Integer(i));
        }
        System.out.println(array.toString());
        System.out.println("Size " + array.getSize() + " , Count " + array.getCount());

        for (int i = 0; i < 9; i++) {
            array.deleteFirst();
        }
        System.out.println(array.toString());
        System.out.println("Size " + array.getSize() + " , Count " + array.getCount());
    }

}
